package com.park.platform.service;

import com.park.common.bean.OrderInputView;
import com.park.common.bean.PageBean;
import com.park.common.poo.OrderDetail;
import com.park.common.poo.OrderInfo;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created by Administrator on 2017-05-01.
 */
public interface ITmOrderService {

    public Map<String, Object> toOrder(int activityId, Integer uid);

    public void saveOrderInfo(OrderInfo orderInfo, OrderDetail orderDetail);

    public String getCodeurl(int oId) throws Exception;

    public String wxPayPackage(int oId, String openId) throws Exception;

    public void asynNotify(String msgxml, HttpServletResponse response) throws Exception;

    public boolean getOrderPayStatus(int orderId);

    /********************************************************************************/
    public PageBean getOrdersIN(OrderInputView orderInputView);

    public void newLogistics(OrderInfo orderInfo);

    public OrderInfo getOrderInfo(int orderId);

    public PageBean getOrderActivitys(OrderInputView orderInputView);

}
